const mongoose = require('mongoose');
const express = require('express');
const db = require('./db');


var cartSchema =  mongoose.Schema({
	author:String,
	title:String,
	price:Number,
    shopImg:String,
    buyId:String,
    buyCount:{
    	type:Number,
    	default:1
    },
    checked:String,
    showShop:Boolean,
    daiPay:Boolean,
    waitGo:Boolean,
    waitshou:Boolean,
    waitPing:Boolean
})

const CartModel = mongoose.model('cart', cartSchema);
module.exports =CartModel;




